package com.gpy.hospital.cms.service;

import com.github.pagehelper.PageInfo;
import com.gpy.hospital.cms.pojo.BingFang;
import com.gpy.hospital.cms.vo.XuanZuoVo;
import com.gpy.hospital.common.ServerResponse;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IXuanZuoService {
    List<XuanZuoVo> getAll();

    ServerResponse confirmZuo(Integer id, HttpServletRequest request);

    PageInfo<BingFang> getAllBingFang(Integer pageNum, Integer pageSize, String num);

    BingFang getById(Integer id);

    void updateByNull(Integer id);

    ServerResponse delete(Integer id);

    ServerResponse add(BingFang bingFang);

    List<BingFang> getAllByLevel();

    ServerResponse addss(BingFang bingFang);
}
